<form onSubmit="return false;"><div class='stylepage'>
    <input type="hidden" name="maxPage" value="###maxPage###">
    <span class="stylepagespn">第###currentPage###/###pageCount###页 共###totalRowCount###条记录</span>
    <!--startFirstPageHref--><a href="javascript:pageTagGoPage('1')">第一页</a><!--endFirstPageHref-->
    <!--startFirstPageSpan--><span class="stylepagespn">第一页</span><!--endFirstPageSpan-->
    <!--startPreviousPageHref--><a href="javascript:pageTagGoPage('###previousPage###')">上一页</a><!--endPreviousPageHref-->
    <!--startPreviousPageSpan--><span class="stylepagespn">上一页</span><!--endPreviousPageSpan-->
    <!--startNextPageHref--><a href="javascript:pageTagGoPage('###nextPage###')">下一页</a><!--endNextPageHref-->
    <!--startNextPageSpan--><span class="stylepagespn">下一页</span><!--endNextPageSpan-->
    <!--startLastPageHref--><a href="javascript:pageTagGoPage('###lastPage###')">最后一页</a><!--endLastPageHref-->
    <!--startLastPageSpan--><span class="stylepagespn">最后一页</span><!--endLastPageSpan-->
    <!--startRowsPerPage--><select onChange="javascript:pageTagSetRowsPerPage(this.value)">###rowNumber###</select><!--endRowsPerPage-->
    <!--startJumpPage--><span class="stylepagespn">跳转至</span>
    <input class="stylepageint" type="text" name="page" size="2">
    <input class="stylepagebut" type="button" name="go" value="GO" onclick="javascript:pageTagGoPage(form.page.value)"><!--endJumpPage-->
</div></form>
<!--startJavascript-->
<script language="javascript">
    function PageTagInit(){
        var formName = "###searchForm###";
        var pageForm = document.getElementById(formName);
        if(!pageForm){
            pageForm = document.getElementsByName(formName)[0];
        }
        if(pageForm){
            return {pageForm:pageForm};
        }else{
            return false;
        }

    }
    function pageTagGoPage(page){
        var pageForm=PageTagInit().pageForm;
        if(!pageTagisNumber(page) || page == 0 || page > parseInt("###maxRows###")){
           alert("输入的页码无效");
           return false;
        }
        pageForm.page.value=page;
        pageForm.submit();
    }
    function pageTagSetRowsPerPage(rows){
        var pageForm=PageTagInit().pageForm;
        pageForm.rowsPerPage.value=rows;
        pageForm.submit();
    }
    function pageTagisNumber(str){
        var number_chars = "1234567890";
        var i;
        for (i=0;i<str.length;i++) {
            if (number_chars.indexOf(str.charAt(i))==-1)
                return false;
        }
        return true;
    }
</script>
<!--endJavascript-->